﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Kooboo.Commerce
{
    public interface ISaleItem
    {
        int Id
        {
            get;
            set;
        }

        IProduct Product
        {
            get;
            set;
        }


        [Required]
        string SKU
        {
            get;
            set;
        }

        [Required]
        decimal PurchasePrice
        {
            get;
            set;
        }

        [Required]
        decimal RetailPrice
        {
            get;
            set;
        }

        [Required]
        int Stock
        {
            get;
            set;
        }

        [Required]
        int DeliveryDays
        {
            get;
            set;
        }

        List<IProductVariation> ProductVariations
        {
            get;
            set;
        }
    }
}
